
import persist from 'pinia-plugin-persistedstate'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import 'element-plus/theme-chalk/index.css'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import ECharts from 'vue-echarts'
const app = createApp(App)
app.use(ElementPlus, {
  locale: zhCn,
})
app.component('VChart', ECharts)
app.use(createPinia().use(persist))
app.use(router)

app.mount('#app')
